﻿using Neural;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections;

namespace NNTest
{
    
    
    /// <summary>
    ///This is a test class for NetworkBuilderTest and is intended
    ///to contain all NetworkBuilderTest Unit Tests
    ///</summary>
    [TestClass()]
    public class NetworkBuilderTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for Sizes
        ///</summary>
        [TestMethod()]
        public void SizesTest()
        {
            NetworkBuilder target = new NetworkBuilder(); // TODO: Initialize to an appropriate value
            ArrayList expected = null; // TODO: Initialize to an appropriate value
            ArrayList actual;
            target.Sizes = expected;
            actual = target.Sizes;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ActivationFactory
        ///</summary>
        [TestMethod()]
        public void ActivationFactoryTest()
        {
            NetworkBuilder target = new NetworkBuilder(); // TODO: Initialize to an appropriate value
            ActivationFactory expected = null; // TODO: Initialize to an appropriate value
            ActivationFactory actual;
            target.ActivationFactory = expected;
            actual = target.ActivationFactory;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreateOutputNeurons
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Neural.NET.dll")]
        public void CreateOutputNeuronsTest()
        {
            NetworkBuilder_Accessor target = new NetworkBuilder_Accessor(); // TODO: Initialize to an appropriate value
            Network network = null; // TODO: Initialize to an appropriate value
            target.CreateOutputNeurons(network);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for CreateInternalNeurons
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Neural.NET.dll")]
        public void CreateInternalNeuronsTest()
        {
            NetworkBuilder_Accessor target = new NetworkBuilder_Accessor(); // TODO: Initialize to an appropriate value
            Network network = null; // TODO: Initialize to an appropriate value
            target.CreateInternalNeurons(network);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for CreateInputNeurons
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Neural.NET.dll")]
        public void CreateInputNeuronsTest()
        {
            NetworkBuilder_Accessor target = new NetworkBuilder_Accessor(); // TODO: Initialize to an appropriate value
            Network network = null; // TODO: Initialize to an appropriate value
            target.CreateInputNeurons(network);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for ConnectInternalLayers
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Neural.NET.dll")]
        public void ConnectInternalLayersTest()
        {
            NetworkBuilder_Accessor target = new NetworkBuilder_Accessor(); // TODO: Initialize to an appropriate value
            Network network = null; // TODO: Initialize to an appropriate value
            int layerIdx = 0; // TODO: Initialize to an appropriate value
            int layerSize = 0; // TODO: Initialize to an appropriate value
            int priorSize = 0; // TODO: Initialize to an appropriate value
            target.ConnectInternalLayers(network, layerIdx, layerSize, priorSize);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for ConnectHiddenLayerToOutputs
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Neural.NET.dll")]
        public void ConnectHiddenLayerToOutputsTest()
        {
            NetworkBuilder_Accessor target = new NetworkBuilder_Accessor(); // TODO: Initialize to an appropriate value
            Network network = null; // TODO: Initialize to an appropriate value
            int layerIdx = 0; // TODO: Initialize to an appropriate value
            int size = 0; // TODO: Initialize to an appropriate value
            target.ConnectHiddenLayerToOutputs(network, layerIdx, size);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for ConnectHiddenLayerToInputs
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Neural.NET.dll")]
        public void ConnectHiddenLayerToInputsTest()
        {
            NetworkBuilder_Accessor target = new NetworkBuilder_Accessor(); // TODO: Initialize to an appropriate value
            Network network = null; // TODO: Initialize to an appropriate value
            int layerIdx = 0; // TODO: Initialize to an appropriate value
            int size = 0; // TODO: Initialize to an appropriate value
            target.ConnectHiddenLayerToInputs(network, layerIdx, size);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for BuildNetwork
        ///</summary>
        [TestMethod()]
        public void BuildNetworkTest()
        {
            NetworkBuilder target = new NetworkBuilder(); // TODO: Initialize to an appropriate value
            Network expected = null; // TODO: Initialize to an appropriate value
            Network actual;
            actual = target.BuildNetwork();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for AddOutputNeurons
        ///</summary>
        [TestMethod()]
        public void AddOutputNeuronsTest()
        {
            NetworkBuilder target = new NetworkBuilder(); // TODO: Initialize to an appropriate value
            ArrayList neurons = null; // TODO: Initialize to an appropriate value
            target.AddOutputNeurons(neurons);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for AddOutputNeuron
        ///</summary>
        [TestMethod()]
        public void AddOutputNeuronTest()
        {
            NetworkBuilder target = new NetworkBuilder(); // TODO: Initialize to an appropriate value
            string name = string.Empty; // TODO: Initialize to an appropriate value
            target.AddOutputNeuron(name);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for AddInputNeurons
        ///</summary>
        [TestMethod()]
        public void AddInputNeuronsTest()
        {
            NetworkBuilder target = new NetworkBuilder(); // TODO: Initialize to an appropriate value
            ArrayList neurons = null; // TODO: Initialize to an appropriate value
            target.AddInputNeurons(neurons);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for AddInputNeuron
        ///</summary>
        [TestMethod()]
        public void AddInputNeuronTest()
        {
            NetworkBuilder target = new NetworkBuilder(); // TODO: Initialize to an appropriate value
            string name = string.Empty; // TODO: Initialize to an appropriate value
            target.AddInputNeuron(name);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for AddHiddenLayer
        ///</summary>
        [TestMethod()]
        public void AddHiddenLayerTest()
        {
            NetworkBuilder target = new NetworkBuilder(); // TODO: Initialize to an appropriate value
            int size = 0; // TODO: Initialize to an appropriate value
            target.AddHiddenLayer(size);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for NetworkBuilder Constructor
        ///</summary>
        [TestMethod()]
        public void NetworkBuilderConstructorTest()
        {
            NetworkBuilder target = new NetworkBuilder();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
